@ai-matrx/content-ir 0.24.6 → 0.24.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.24.8
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/content-ir-core/v0.24.7..npm/content-ir-core/v0.24.8 -- apps/shared/content-ir-core`).
7
+ No source changes intended and no consumer action required.
8
+
9
+ ## 0.24.7
10
+
11
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
12
+ `git diff npm/content-ir-core/v0.24.6..npm/content-ir-core/v0.24.7 -- apps/shared/content-ir-core`).
13
+ No source changes intended and no consumer action required.
14
+
3
15
  ## 0.24.6
4
16
 
5
17
  Automatic changed-only republish (docs/metadata drift since the last tag — see
package/dist/index.cjs CHANGED
@@ -5520,7 +5520,7 @@ function fenceParts(raw) {
5520
5520
  const closed = rest.length > 0 && new FenceReader(opener, { nesting: false }).feed(rest[rest.length - 1]);
5521
5521
  if (!closed) return { opener, body: rest.join("\n"), closed };
5522
5522
  const last = rest[rest.length - 1];
5523
- const before = trimFenceLine(last).startsWith("```") ? "" : last.slice(0, last.indexOf("```"));
5523
+ const before = opener.char === "~" || trimFenceLine(last).startsWith("```") ? "" : last.slice(0, last.indexOf("```"));
5524
5524
  return { opener, body: [...rest.slice(0, -1), ...before.trim() ? [before] : []].join("\n"), closed };
5525
5525
  }
5526
5526
  function fenceLineKinds(text) {